<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

// Route::get('/', function () {
//     return view('welcome');
// });
Route::get('/','CoupletController@index');

Route::get('/couplet','CoupletController@show');

Route::get('/getUserCoupletByid','CoupletController@getUserCoupletByid');

Route::post('/getCouplet','CoupletController@getCouplet');

Route::post('/shareCouplet','CoupletController@shareCouplet');

Route::post('/userShareCouplet','CoupletController@userShareCouplet');

Route::get('/setPrize','CoupletController@setPrize');

Route::get('/getPrizeByid','CoupletController@getPrizeByid');

Route::get('/getPrizeBytype','CoupletController@getPrizeBytype');

Route::post('/addPrize','CoupletController@addPrize');

Route::post('/updatePrize','CoupletController@updatePrize');

Route::post('/openRed','CoupletController@openRed');

Route::get('/help','CoupletController@help');

Route::get('/accept','CoupletController@acceptView');

Route::post('/getAccept','CoupletController@accept');

Route::post('/strat_help','CoupletController@strat_help');

Route::post('/help_action','CoupletController@help_action');

Route::get('/myPrize','CoupletController@myPrize');

Route::get('/getJoin','CoupletController@getHelpById');

Route::post('/openBidRed','CoupletController@openBigRed');

Route::get('/getUsedCouplet','CoupletController@getUsedCouplet');

Route::post('/getUserId','CoupletController@getUserId');

Route::post('/getUserPhone','CoupletController@getUserPhone');

Route::get('/wx','CoupletController@wx');

Route::get('/sendMoney','sendMoney@index');

Route::get('/sendMoneyOpenid','sendMoney@GetOpenid');

Route::post('/getMoney','sendMoney@getMoney');

Route::post('/sendCode','CoupletController@sendCode');

Route::get('/meter','meterController@index');

Route::post('/sign','meterController@sign');